
import { ACCOUNT_STATUS, PLAYER_STATUS } from '@/common/dictory'
export function accountStatusFormat(status = 0) {
  var statusOpt = ACCOUNT_STATUS.find(item => item.value === Number(status || 0)) || {}
  return statusOpt['label'] || '停用'
}
export function playerStatusFormat(status = 0) {
  var statusOpt = PLAYER_STATUS.find(item => item.value === Number(status || 0)) || {}
  return statusOpt['label'] || '停用'
}
export function formatMoney(num = 0) {
  return num.toFixed(2)
}
